package com.mapper;

import com.entity.OManagement;

import java.util.List;

public interface OManagementMapper {
    List<OManagement> getOrdersBycustomerId(String customerId);
    List<OManagement> getOrdersBystoreId(String storeId);
    List<OManagement> getOrdersBydeliveryId(String deliveryId);
    OManagement getOrdersByorderId(int orderId);
    void addOrder(OManagement order);
    void updateOrder(OManagement order);
    void deleteOrder(int orderId);
}
